package com.dfbz.service.impl;


import com.dfbz.dao.MeetDao;
import com.dfbz.model.Conference;
import com.dfbz.service.MeetService;

import java.util.List;

public class MeetServiceImpl implements MeetService {

    private MeetDao meetDao = new MeetDao();


    @Override
    public List<Conference> findList(int page, int deptId, String search) {
        return meetDao.findList(page, deptId, search);
    }


    @Override
    public long findTotalCount(int deptId,String search) {
        return meetDao.getTotalMeet(deptId,search);
    }
}
